package com.mingqijia.gassafety.shared.constant;

/**
 * @program: gassafety
 * @description:
 * @author: Mr.Wang
 * @create: 2022-12-01 10:15
 **/
public class HangZhouConst {

    public static final String  SOURCE_PLATFORM_ID = "350280040753135616";
    public static final String ORGANIZATION_ID = "LEHrAXMgcWGyxUDyEfdCnTcoiLrQwtkB";

    // 杭州本地化地址
    public static final String HANGZHOU_LOCALIZATION_URL = "60.191.29.146:1068/api";
    //设备注册
    public static final String HANGZHOU_DEVICE_REGISTER_URL = "/inner/cityhub/device/register";
    //物模型 createCityThingModel
    public static final String HANGZHOU_THING_MODEL_URL = "/inner/cityhub/thingmodel/create";
    //创建产品
    public static final String HANGZHOU_CREATE_PRODUCT_URL = "/inner/cityhub/product/create";
    //数据上报
    public static final String HANGZHOU_DATA_SET_URL = "/inner/cityhub/device/data";
    //报警数据上报
    public static final String HANGZHOU_ALARM_DATA_SET_URL = "/inner/cityhub/device/alarm/data";



    public static final String THING_MODEL_EVENTS = "{\"description\":\"设备异常告警\",\"eventName\":\"设备异常\",\"eventType\":\"ALERT\",\"identifier\":\"onlineAlarm\",\"outputData\":[{\"dataType\":\"TEXT\",\"identifier\":\"xlel\",\"name\":\"气体浓度\",\"paraOrder\":1}]}";

    public static final String THING_MODEL_PROPERTIES = "[{\"dataType\":\"TEXT\",\"description\":\"\",\"identifier\":\"imei\",\"name\":\"设备号\",\"rwFlag\":\"READ_ONLY\",\"unit\":\"-\",\"unitName\":\"-\"},{\"dataType\":\"TEXT\",\"identifier\":\"equipmentType\",\"name\":\"设备类型\",\"rwFlag\":\"READ_ONLY\"},{\"dataType\":\"TEXT\",\"identifier\":\"installationPosition\",\"name\":\"设备位置\",\"rwFlag\":\"READ_ONLY\"},{\"dataType\":\"TEXT\",\"identifier\":\"consumerName\",\"name\":\"客户名称\",\"rwFlag\":\"READ_ONLY\"},{\"dataType\":\"TEXT\",\"identifier\":\"industryType\",\"name\":\"所属行业\",\"rwFlag\":\"READ_ONLY\"},{\"dataType\":\"TEXT\",\"identifier\":\"address\",\"name\":\"客户地址\",\"rwFlag\":\"READ_ONLY\"},{\"dataType\":\"TEXT\",\"identifier\":\"contactName\",\"name\":\"联系人姓名\",\"rwFlag\":\"READ_ONLY\"},{\"dataType\":\"TEXT\",\"identifier\":\"telephone\",\"name\":\"联系方式\",\"rwFlag\":\"READ_ONLY\"}]";
}
